From 6b4dd4be6c4581556e9fa76c96170128415cd9c3 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 9 Dec 2017 17:33:44 +0100 Subject: [PATCH] gtkwindow: Use shadow border when calculating resize areas positions This way resize areas are correctly positioned right outside the visible window edge on all sides. --- gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index aba18df012..260e61bffb 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -1732,7 +1732,7 @@ edge_under_coordinates (GtkWindow *window, { handle_h = MIN (RESIZE_HANDLE_SIZE, allocation.width / 2); handle_v = MIN (RESIZE_HANDLE_SIZE, allocation.height / 2); - gtk_style_context_get_margin (context, &border); + get_shadow_width (window, &border); } else { -- 2.30.2